package com.peng.design.visitor;

/**
 * UnitVisitor
 *
 * @author: lupeng10
 * @create: 2023-06-08 14:23
 */
public interface UnitVisitor {

    void visit(CommanderUnit commanderUnit);

    void visit(SergeantUnit sergeantUnit);

    void visit(SoldierUnit soldierUnit);

}
